const mongoose = require("../db");
const Schema = mongoose.Schema;
const schema = new Schema({
    bannerid: { type: String },  // bannerId
    info: { type: String }, // 详情
    href: { type: String },  // 点击链接
    imgbase: { type: String } // 图片链接
});
const collection = mongoose.model("Banner", schema);
module.exports = collection;
